<?php
$table='
<table  class="le_td3" width="235" border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td class="left_td3" height="25" width="25" align="center">期数</td>
	  <td class="left_td3" colspan="3" align="center">开出骰子</td>
	  <td class="left_td3" width="25" align="center">总数</td>
	  <td class="left_td3" width="25" align="center">大小</td>
	</tr>
<tbody>';

$table1=$table2="";
$rs = getdb("select * from lotto_".$tbl." where  startbet<='" . date("Y-m-d H:i:s") . "' and n1>=0 order by startbet desc limit 10");
while(!$rs->eof)
{
	$table1.='<tr class="row1"  style="font-weight:bold">
				<td class="left_td3 co " width="25" align="center">0'.substr($rs->f["round"],strlen($rs->f["round"])-2,2).'</td>
				<td class="left_td3" width="25" align="center"><img src=skin/1/img/ball/'.$rs->f["n3"].'.png width=20></td>
				<td class="left_td3" width="25" align="center"><img src=skin/1/img/ball/'.$rs->f["n2"].'.png width=20></td>
				<td class="left_td3" width="25" align="center"><img src=skin/1/img/ball/'.$rs->f["n1"].'.png width=20></td>
				<td class="left_td3" width="25" align="center">'.($rs->f["n3"]+$rs->f["n2"]+$rs->f["n1"]).'</td>
				<td class="left_td3" width="25" align="center">'.$MyLotto_3d->showText($rs->f['bs'], "bs").'</td>
			  </tr>';
	$rs->movenext();
}
$rs->close();
$content='<div class="ShowOpen" id="ShowOpen_0">'.$table.$table1."</tbody></table></div>";
$table=$content;
?>